package com.fa4j.code.mate.model;

import com.fa4j.common.base.model.BaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;


@Schema(description = "代码元数据类型")
@Getter
@RequiredArgsConstructor
public enum CodeMateType implements BaseEnum {
    PROJECT(1, "项目"),
    MODULE(2, "模块"),
    MODEL(3, "模型"),
    METHOD(4, "方法"),
    FIELD(5, "字段"),
    ;

    private final Integer code;
    private final String name;

}
